/////////////////////////////////////////////////////////////////////////////// 
//// FileName: iPN_Error.h
//// Description: Error Code definition
//// Author: Charlie Chang (sengfu@gmail.com)
//// All right reserved 2014.
////  Revision History:
////      Create Date: 2014/08/28
////      
////////////////////////////////////////////////////////////////////////////////

#ifndef _iPN_ERROR___INC_H_
#define _iPN_ERROR___INC_H_

#define ERROR_iPN_SUCCESSFUL										0

//// Error Code define
#define iPN_Error_Success 										 0
#define iPN_Error_Invalid_AuthCode									-1
#define iPN_Error_Invalid_Token										-2
#define iPN_Error_Max_Event										-3
#define iPN_Error_Event_Exist										-4
#define iPN_Error_Event_NotExist									-5
#define iPN_Error_SubscriberID_NotExist									-6
#define iPN_Error_Internal_Error									-7
#define iPN_Error_Table_NotExist									-8
#define iPN_Error_Already_Published									-9
#define iPN_Error_Already_Subscribed									-10
#define iPN_Error_Already_Posted									-11
#define iPN_Error_Connect_TimeOut									-12
#define iPN_Error_Connect_Error										-13
#define iPN_Error_QueryTokenPassword_Or_NotOpen								-14

#endif //// #ifndef _iPN_ERROR___INC_H_
